package com.woniuxy.yogaapp.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
 * 关注表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attention {
	private Integer aid;  //编号
	private Integer me;	  //关注人、uid外键
	private Integer other;//被关注人、uid外键
	private String aimage;
	private String aname;
	private Integer roles;
	private List<Chat> chats;//存放说说

	public Attention(Integer aid, Integer me, Integer other, String aimage, String aname, List<Chat> chats) {
		this.aid = aid;
		this.me = me;
		this.other = other;
		this.aimage = aimage;
		this.aname = aname;
		this.chats = chats;
	}
}
